<template>
  <h2>我是 Travel 旅游胜地的内容</h2>
</template>

<script>
export default {
  name: "Travel",
  mounted() {
    console.log("Travel 组件挂载完成");
    console.log(this.$route);
    console.log(this.$router);
  },
  beforeDestroy() {
    console.log("Travel 组件即将被销毁");
  },
};
</script>